#include<stdio.h>

int csy(int arr[10], int n) {
	for (int x = n;x >0;x--)
	{
		for (int y = 0;y < n - 1;y++)
		{
			if (arr[y] > arr[y+1])
			{
				int k=arr[y+1];
			    arr[y+1] = arr[y];
				arr[y]=k;
			}
		}
		return 0;
	}
}
int main()
{
	int arr[10] = { 3,2,4,5,9,8,6,1,0,7 };
	int n = sizeof(arr) / sizeof(int);
	int csy(arr,n);
	for (int i = 0;i<10;i++)
	{
		printf("%d", arr[i]);
	return 0;
	}

}